import React ,{Component} from 'react';

import TabsThreeTop from './tabsThree-top'
import TabsThreeBottom from './tabsThree-bottom'

class TabsThree extends Component {
	state = {
		
    }
    componentDidMount() {

    }
    render() {
    	let data=this.props.data;
    	let commentListData=this.props.commentListData;
        return(
        	<div>
        		{data?
        			<TabsThreeTop topData={data}/>:null
        		}
        		{data?
        			<TabsThreeBottom bottomData={commentListData}/>:null
        		}
        		
        	</div>
		)
    }
}

export default TabsThree